/*
Theme Name: FUDUM
Theme URI: http://www.fudum.com/
Author: fudum
Author URI: http://www.fudum.com/
Description: the auther's first theme.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: blog, two-columns, left-sidebar, accessibility-ready, custom-background, custom-colors, custom-header, custom-logo, custom-menu, editor-style, featured-images, microformats, post-formats, rtl-language-support, sticky-post, threaded-comments, translation-ready
Text Domain: fudum

*/

/*
1.01 加入短留念功能
1.02 去掉后台登入后，首页显示的工具栏
*/
body div {
	border: none;
	padding: 0;
	margin: 0;
}

body {
	font-family: Arial, sans-serif;
	font-size: 16px;
	color: #333;
	background-color: #ececec;
	display: block;
	margin: 0;
	padding: 0;
	margin-top: -20px;
	font-family: "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif;
}

a:link,
a:visited {
	color: #006ec3;
}

p {
	line-height: 1.65em;
}

.maxwidth {
	max-width: 1200px;
	margin: 0 auto;
}

/* General Layout */

div.container {
	/* max-width: 1200px; */
	margin: 0 auto;
}

article.post {
	border-bottom: 2px dotted #bbb;
	word-wrap: break-word;
}

article.post img {
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 100%;
}

article.post:last-of-type {
	border-bottom: none;
}

/* Header */
.site-header {
	position: relative;
	margin: 0;
	width: 100%;
	clear: both;
	padding: 0 30px;
	box-sizing: border-box;
	background-color: #fff;
}

/*Site Header Menu */
.site-header h1 {
	padding-top: 20px;
}

.site-header h1 a {

	text-decoration: none;
}

.site-header nav ul li {
	margin-right: 5px;
}

.site-header nav ul li a:link,
.site-header nav ul li a:visited {
	display: block;
	padding: 10px 18px;
	border: 1px solid #bbb;
	border-bottom: none;
	text-decoration: none;
}

.site-header nav ul li a:hover {
	background-color: #ececec;
}

.site-header nav ul li.current-menu-item a:link,
.site-header nav ul li.current-menu-item a:visited {
	background-color: #006ec3;
	color: #fff;
}

/* Footer */
.site-footer {
	margin-top: 30px;
	background-color: #222;
	color: #fff;
	padding: 5px;
}

.site-footer p {
	text-align: center;
}

/* Navigatio Menus */
.site-nav ul  {
	margin: 0;
	padding: 0;
}

.site-nav ul:before, .site-nav ul:after {content: ""; display: table;}
.site-nav ul:after { clear: both; }
.site-nav ul {*zoom:1;}

.site-nav ul li {
	list-style: none;
	float: left;
}

/* main column */
.site-content {
	max-width: 1200px;
	margin: 0 auto;
}

.main-column {
	width: 66%;
	float: left;
	margin-top: 30px;
	
	box-sizing: border-box;
}

/* main content */
.main-content {
	padding: 20px 50px;
	background-color: #fff;
}

/* main comments */
.main-comments {
	margin-top: 30px;
	padding: 20px 50px;
	background-color: #fff;
}

.main-last-next {
	clear: both;
	position: relative;
	margin-top: 30px;
	margin-bottom: 30px;
	padding: 20px 50px;
	background-color: #fff;
	min-height: 30px;
}
.main-last-next-last {
	float: left;
}

.main-last-next-next {
	float: right;
}

/* side column */
.secondary-column {
	width: 30%;
	float: right;
}

.widget-item {
	margin-top: 30px;
	padding: 30px;
	background-color: #fff;
}

.widget-item ul {
	list-style: none;
	padding-left: 0;
}

.widget-item li {
	list-style: none;
	border-bottom: 1px solid #ddd;
	padding: 0.5em 0;
}

.widget-item li a {
	text-decoration: none;
}

.widget-item .textwidget img{
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 100%;

}


.footer-widget-area {
	width: 25%;
	float: left;
	padding-right: 40px;
	box-sizing: border-box;
}


/* Footer Menu */
.site-footer {
	clear: both;
}
.site-footer nav ul li {
	margin-right: 10px;
	padding-right: 10px;
	border-right: 1px dotted #bbb;
}

/* Post Styles */
.post h2 {
	margin-bottom: 0;
}

.post h2 a {
	text-decoration: none;
}

p.post-info {
	font-size: 87%;
	color:#727272;
}

p.post-info a:link,
p.post-info a:visited {
	color: #006ec3;
	text-decoration: none;
}

p.post-info i.i-user {
	color: #222;
	font-weight: bold;
	font-style: normal;
}


/* Children Links */
.children-links {
	margin-bottom: 20px;
	font-size: 80%;

}

.children-links a:link,
.children-links a:visited {
	text-decoration: none;
}

.children-links ul {
	float: left;
}

.children-links li {
	margin-right: 20px;
}

.children-links .parent-link {
	float:left;
	margin-right: 20px;
	padding-right: 20px;
	border-right: 1px solid #ddd;
	font-size: 120%;
	font-weight: bold;
}
.children-links .parent-link a:link,
.children-links .parent-link a:visited {
	color: #333;
}

.children-links .current_page_item a:link,
.children-links .current_page_item a:visited {
	border-bottom: 1px solid #ddd;
	color: #333;
	cursor: default;;
}

/* Serach */
div.hd-search {
	float: right;
	padding-top: 50px;
}

div.hd-search label {
	position: absolute;
	left: -9999px;
}

div.hd-search #searchsubmit {
	background-color: #006ec3;
	color: #fff;
	padding: 5px 14px;
	border:	none;
	vertical-align: top;
}

div.hd-search #s {
	vertical-align: top;
	padding: 3px 0;
}


/* comments  list */
.comments-area ol {
    list-style: none;
    width: 100%;
}

.commentlist li.comment {
	list-style: none;
	padding-bottom: 20px;
	margin-bottom: 20px;
	border-bottom: 1px dotted #bbb;
}

.comment-meta .comment-author img {
	float: left;
	padding-right: 20px;
}

.comment-author .fn {

}

.comment-author .c-time {
	display: block;
	color: #999;
	margin-top: 10px;
	font-size: 95%;
}

/* navigation */
.fudum-navigation {
	margin-top: 30px;
	text-align: center;
	background-color: #fff;
	padding: 20px 30px; 
}

.fudum-navigation h2 {
	display: none;
}

div.index-img img {
	width: auto;
	height: auto;
	max-width: 200px;
	max-height: 200px;
	float: left;
	margin: 10px;
}

/* blockquote style */
	blockquote{    
	background: #d9e9ff;    
	padding: 10px 15px 10px 15px;    
	margin: 1em 3em 1em 3em;    
	font-size:.8em;    
	border-style:dotted dotted dotted solid;    
	border-width:1px 1px 1px 5px;    
	border-color:#5bbcdd;    
	line-height:200%;    
}   

/* for phone */
@media  screen and (max-width:800px)  {
	.main-column {
		width: 100%;
	}

	.main-content {
		padding: 20px 30px;
		background-color: #fff;
	}

	.main-last-next {
		padding: 20px 30px;
		background-color: #fff;
	}

	.main-last-next-last {
		float: none;
		margin-bottom: 10px;
	}

	.main-last-next-next {
		float: none;
	}


	.hd-search {
		display: none;
	}

	.site-nav ul li {
		list-style: none;
		float: left;
		width: 100%;
	}

	.site-header nav ul li a:link,
	.site-header nav ul li a:visited {
		display: block;
		padding: 10px 18px;
		border: none;
		border-bottom: 1px solid #bbb;
		text-decoration: none;
	}

	.site-header nav ul li:last-of-type a {
		border-bottom: none;
	}

	.secondary-column {
		width: 100%;
	}

	p.comment-form-comment textarea {
		width: 100%;
	}

	div.comment-respond input {
		width: 100%;
	}

	div.index-img img {
		width: auto;
		height: auto;
		max-width: 100%;
		max-height: 100%;
		margin: 0px;		
	}
}